import { visualizer } from "rollup-plugin-visualizer";
import type { PluginOption } from "vite";

/**
 * 配置可视化插件
 *
 * @returns 返回一个插件选项对象
 */
export function configVisualizerPlugin() {
    return visualizer() as PluginOption
}